package com.zbkj.crmeb.merchant.api.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.zbkj.crmeb.chant.vo.RoomGoodsInfoVo;
import com.zbkj.crmeb.merchant.api.request.BroadcastGoods;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@JsonIgnoreProperties(ignoreUnknown = true)
public class RoomInfo implements Serializable {

    @ApiModelProperty(value = "直播间名称")
    private String name;

    @ApiModelProperty(value = "房间id")
    private Integer roomId;

    @ApiModelProperty(value = "背景图")
    private String coverImg;

    @ApiModelProperty(value = "分享图")
    private String shareImg;

    @ApiModelProperty(value = "直播间状态。101：直播中，102：未开始，103已结束，104禁播，105：暂停，106：异常，107：已过期")
    private Integer liveStatus;

    @ApiModelProperty(value = "直播间开始时间，列表按照start_time降序排列")
    private Date startTime;

    @ApiModelProperty(value = "直播计划结束时间")
    private Date endTime;

    @ApiModelProperty(value = "主播昵称")
    private String anchorName;

    @ApiModelProperty(value = "主播微信号")
    private String anchorWechat;

    @ApiModelProperty(value = "主播副号")
    private String subAnchorWechat;

    @ApiModelProperty(value = "直播类型，1 推流 0 手机直播")
    private String liveType;

    @ApiModelProperty(value = "是否关闭点赞 【0：开启，1：关闭】（若关闭，观众端将隐藏点赞按钮，直播开始后不允许开启）")
    private Integer closeLike;

    @ApiModelProperty(value = "是否关闭货架 【0：开启，1：关闭】（若关闭，观众端将隐藏商品货架，直播开始后不允许开启）")
    private Integer closeGoods;

    @ApiModelProperty(value = "是否关闭评论 【0：开启，1：关闭】（若关闭，观众端将隐藏评论入口，直播开始后不允许开启）")
    private Integer closeComment;

    @ApiModelProperty(value = "是否关闭客服 【0：开启，1：关闭】 默认关闭客服（直播开始后允许开启）")
    private Integer closeKf;

    @ApiModelProperty(value = "是否关闭回放 【0：开启，1：关闭】默认关闭回放（直播开始后允许开启）")
    private Integer closeReplay;

    @ApiModelProperty(value = "是否开启官方收录 【1: 开启，0：关闭】，默认开启收录")
    private Integer isFeedsPublic;

    @ApiModelProperty(value = "创建者openid")
    private String createrOpenid;

    @ApiModelProperty(value = "封面图")
    private String feedsImg;

    @ApiModelProperty(value = "拉取房间总数")
    private Integer total;

    @ApiModelProperty(value = "商品列表")
    private List<RoomGoodsInfoVo> goods;

}